
package cn.hz.horse.example;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;

 
import cn.hz.horse.EzBooter;
import cn.hz.horse.EzHandle;

public class MyTest1   {
 
	
	 public static void main(String[] args){
		 MyHandle my=new MyHandle();
		 MyResHandle myRes=new MyResHandle();
		 
		 EzBooter booter=new EzBooter();
		 booter.ready(my,myRes);
		 
		 while(true){
			 booter.getWatcher().vaitNo();
			 for(int i=0;i<100000;i++){
					HashMap<String ,Object> map = new HashMap<>();
					map.put("id", "value "+i);
				 	booter.put(map);
		     }
		 }
		 
	 }
}
